package com.hakim.wfb.admin.params.admin;

import com.hkfs.fundamental.api.params.SessionParameter;
import org.hibernate.validator.constraints.NotBlank;

/**
 *
 */
public class AddRoleParam extends SessionParameter {
    private Integer optlock;
    /**
     * 角色名称
     */
    @NotBlank(message = "角色名不能为空")
    private String roleName;
    /**
     * 有权限的菜单ID
     */
    private Long[] menuIds;

//    /**
//     * 权限
//     */
//    private long[] powers;

    public Long[] getMenuIds() {
        return menuIds;
    }

    public void setMenuIds(Long[] menuIds) {
        this.menuIds = menuIds;
    }

    public Integer getOptlock() {
        return optlock;
    }

    public void setOptlock(Integer optlock) {
        this.optlock = optlock;
    }

    public String getRoleName() {
        return this.roleName;
    }
    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
